﻿<UserControl
    x:Class="Poet.Views.BrushView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:views="clr-namespace:Poet.Views"
    Height="300" Width="300">
    <Grid>
        <Canvas Width="64" Height="64">
            <Canvas.Background>
                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                    <GradientStop Color="#FFFF0000" Offset="{x:Static views:BrushView.OneOfSeven}" />
                    <GradientStop Color="#FFFFFF00" Offset="{x:Static views:BrushView.TwoOfSeven}" />
                    <GradientStop Color="#FF00FF00" Offset="{x:Static views:BrushView.TreeOfSeven}" />
                    <GradientStop Color="#FF00FFFF" Offset="{x:Static views:BrushView.FourOfSeven}" />
                    <GradientStop Color="#FF0000FF" Offset="{x:Static views:BrushView.FiveOfSeven}" />
                    <GradientStop Color="#FFFF00FF" Offset="{x:Static views:BrushView.SixOfSeven}" />
                    <GradientStop Color="#FFFF0000" Offset="{x:Static views:BrushView.SevenOfSeven}" />
                </LinearGradientBrush>
            </Canvas.Background>
        </Canvas>
    </Grid>
</UserControl>
